package com.hh.game.service.gateway.webscoket.config;

import com.hh.game.service.gateway.filter.statistics.StatisticsConfig;

public class WebSocketServerConfig {
    private int port;
    private String path;
    private int maxConnectSize;

    private int workThreadSize;
    private int workQueueSize;

    private int workLoopGroupThreads;
    private int workPoolQueueSize;

    private int readerIdleTimeSeconds;
    private int writerIdleTimeSeconds;
    private int allIdleTimeSeconds;

    private boolean SSL;
    private String sslCertificate;
    private String sslCertificateKey;


    public int getWorkThreadSize() {
        return workThreadSize;
    }

    public void setWorkThreadSize(int workThreadSize) {
        this.workThreadSize = workThreadSize;
    }

    public int getWorkQueueSize() {
        return workQueueSize;
    }

    public void setWorkQueueSize(int workQueueSize) {
        this.workQueueSize = workQueueSize;
    }

    public boolean isSSL() {
        return SSL;
    }

    public void setSSL(boolean SSL) {
        this.SSL = SSL;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getMaxConnectSize() {
        return maxConnectSize;
    }

    public void setMaxConnectSize(int maxConnectSize) {
        this.maxConnectSize = maxConnectSize;
    }

    public String getSslCertificate() {
        return sslCertificate;
    }

    public void setSslCertificate(String sslCertificate) {
        this.sslCertificate = sslCertificate;
    }

    public String getSslCertificateKey() {
        return sslCertificateKey;
    }

    public void setSslCertificateKey(String sslCertificateKey) {
        this.sslCertificateKey = sslCertificateKey;
    }

    public int getWorkLoopGroupThreads() {
        return workLoopGroupThreads;
    }

    public void setWorkLoopGroupThreads(int workLoopGroupThreads) {
        this.workLoopGroupThreads = workLoopGroupThreads;
    }

    public int getWorkPoolQueueSize() {
        return workPoolQueueSize;
    }

    public void setWorkPoolQueueSize(int workPoolQueueSize) {
        this.workPoolQueueSize = workPoolQueueSize;
    }

    public int getReaderIdleTimeSeconds() {
        return readerIdleTimeSeconds;
    }

    public void setReaderIdleTimeSeconds(int readerIdleTimeSeconds) {
        this.readerIdleTimeSeconds = readerIdleTimeSeconds;
    }

    public int getWriterIdleTimeSeconds() {
        return writerIdleTimeSeconds;
    }

    public void setWriterIdleTimeSeconds(int writerIdleTimeSeconds) {
        this.writerIdleTimeSeconds = writerIdleTimeSeconds;
    }

    public int getAllIdleTimeSeconds() {
        return allIdleTimeSeconds;
    }

    public void setAllIdleTimeSeconds(int allIdleTimeSeconds) {
        this.allIdleTimeSeconds = allIdleTimeSeconds;
    }
}
